package org.example.hypersonaltools;

import javafx.application.Application;
import javafx.stage.Stage;
import org.example.hypersonaltools.manager.SceneManager;
import org.example.hypersonaltools.scene.*;

public class HelloApplication extends Application {

    @Override
    public void start(Stage primaryStage) {
        SceneManager sceneManager = SceneManager.getInstance();
        sceneManager.setStage(primaryStage);
        // 添加场景
        sceneManager.addScene("primaryScene", new PrimaryScene());
        sceneManager.addScene("testosterone", new OneToolScene());
        sceneManager.addScene("deepSeek", new DeepSeekChatScene());
        sceneManager.addScene("imgTool", new ToolScene());
        sceneManager.addScene("deskPet", new DeskPetOptionScene());
        sceneManager.addScene("booksReadTools", new BooksReadToolScene());

        // 初始场景
        sceneManager.switchScene("primaryScene");
    }

    public static void main(String[] args) {
        launch(args);
    }
}
